const SortOrder = (state = 0, action) => {
    // console.log(action.text);
	switch (action.type) {
		case 'SORT':
			let text = { ...state };
			text = action.index;
			return text;

		default:
			return state;
	}
};
export default SortOrder;